Telegram Group & Telegram Channel
🔰 INSTALL PYTHON IN TERMUX AND SETUP A VIRTUAL ENVIRONMENT 🔰


In Termux default python version is python3.

🌀 ᴛᴏ ɪɴsᴛᴀʟʟ ᴘʏᴛʜᴏɴ3

$ pkg install python


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘʏᴛʜᴏɴ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ python --version

Python has 'pip' as default package manager to manage python packages.

Using pip you can install, update, remove python packages in a simple and easy way.

We will discuss more on pip in the upcoming posts but for now let's see how to confirm if pip is installed properly or not.


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘɪᴘ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ pip --version

Python virtual environments are a sweet way to manage several projects and their dependencies on a single machine.

The packages installed in a virtual environment are accessible only inside that environment and thus allows different versions of same package to be installed and managed.


🌀 ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴘʏᴛʜᴏɴ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ python -m venv mypythonenv

where 'mypythonenv' is the the name of your environment. You can name it anything you want.

You can use your virtual environment by activating it. Then after finishing your work you can deactivate it.


🌀 ᴛᴏ ᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ source mypythonenv/bin/activate


🌀 ᴛᴏ ᴅᴇᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ deactivate


If you enjoyed reading this post, don't forget to

LIKE 👍 | SHARE ♥️

◆━━━◆❃ @PYTHONGRAMM ❃◆━━━◆



tg-me.com/pythongramm/5
Create:
Last Update:

🔰 INSTALL PYTHON IN TERMUX AND SETUP A VIRTUAL ENVIRONMENT 🔰


In Termux default python version is python3.

🌀 ᴛᴏ ɪɴsᴛᴀʟʟ ᴘʏᴛʜᴏɴ3

$ pkg install python


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘʏᴛʜᴏɴ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ python --version

Python has 'pip' as default package manager to manage python packages.

Using pip you can install, update, remove python packages in a simple and easy way.

We will discuss more on pip in the upcoming posts but for now let's see how to confirm if pip is installed properly or not.


🌀 ᴛᴏ ᴄʜᴇᴄᴋ ᴘɪᴘ ᴠᴇʀsɪᴏɴ ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ʏᴏᴜʀ ᴛᴇʀᴍᴜx

$ pip --version

Python virtual environments are a sweet way to manage several projects and their dependencies on a single machine.

The packages installed in a virtual environment are accessible only inside that environment and thus allows different versions of same package to be installed and managed.


🌀 ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴘʏᴛʜᴏɴ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ python -m venv mypythonenv

where 'mypythonenv' is the the name of your environment. You can name it anything you want.

You can use your virtual environment by activating it. Then after finishing your work you can deactivate it.


🌀 ᴛᴏ ᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ source mypythonenv/bin/activate


🌀 ᴛᴏ ᴅᴇᴀᴄᴛɪᴠᴀᴛᴇ ʏᴏᴜʀ ᴠɪʀᴛᴜᴀʟ ᴇɴᴠɪʀᴏɴᴍᴇɴᴛ

$ deactivate


If you enjoyed reading this post, don't forget to

LIKE 👍 | SHARE ♥️

◆━━━◆❃ @PYTHONGRAMM ❃◆━━━◆

BY Pythongram 🐍


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythongramm/5

View MORE
Open in Telegram


Pythongram Telegram | DID YOU KNOW?

Date: |

Among the actives, Ascendas REIT sank 0.64 percent, while CapitaLand Integrated Commercial Trust plummeted 1.42 percent, City Developments plunged 1.12 percent, Dairy Farm International tumbled 0.86 percent, DBS Group skidded 0.68 percent, Genting Singapore retreated 0.67 percent, Hongkong Land climbed 1.30 percent, Mapletree Commercial Trust lost 0.47 percent, Mapletree Logistics Trust tanked 0.95 percent, Oversea-Chinese Banking Corporation dropped 0.61 percent, SATS rose 0.24 percent, SembCorp Industries shed 0.54 percent, Singapore Airlines surrendered 0.79 percent, Singapore Exchange slid 0.30 percent, Singapore Press Holdings declined 1.03 percent, Singapore Technologies Engineering dipped 0.26 percent, SingTel advanced 0.81 percent, United Overseas Bank fell 0.39 percent, Wilmar International eased 0.24 percent, Yangzijiang Shipbuilding jumped 1.42 percent and Keppel Corp, Thai Beverage, CapitaLand and Comfort DelGro were unchanged.

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Pythongram from ms


Telegram Pythongram 🐍
FROM USA